#include "Base.h"
#include "LordBotServer.h"
#include "LordBot.h"

char g_szServiceName[] = "LordBotServer";

int WINAPI WinMain(HINSTANCE hInst,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow)
{
	CLordBotServer *pServer = new CLordBotServer;
	if(pServer != NULL)
	{
		pServer->WinMain();
	}
	return 0;
}

CLordBotServer::CLordBotServer(void)
{
}

CLordBotServer::~CLordBotServer(void)
{
}

BOOL CLordBotServer::OnInitialUpdate()
{
	if(!CBotServer::OnInitialUpdate())
		return FALSE;

	return TRUE;
}

CGameBot* CLordBotServer::CreateGameBot()
{
    return new CLordBot;
}
